var Router = require('restify-router').Router
var router = new Router()

var handler = require('./handler.js')

router.get('/list',function(req, res, next) {
  handler.get_list(req.params, res)
  return next()
})

router.get('/file', function (req, res, next) {
  handler.get_file(req.params, res)
  return next()
})

module.exports = router